//请求的基础地址
const base = 'https://nideshop.bluej.cn/api/';
const api = {
  loginByweixin: base + 'auth/loginByWeixin',     //登录
  index: base + "index",                          //首页
  goods_detail: base + "goods/detail",            //商品详细
  cart: base + "cart/index",                      //购物车
  catalog: base + "catalog/index",                //分类目录
  goodsList: base + "goods/list",                 //商品列表
  cartupdate: base + "cart/update",               //更新购物车
  ordersubmit: base + "order/submit",             //提交订单
  addcart: base + "cart/add",                     //添加购物车
  orderlist: base + "order/list",                 //订单列表
  orderdetail: base + "order/detail",             //订单详情
  collect: base + "collect/list",                 //获取收藏列表
  ordercancel: base + "order/cancel",             //取消订单
  deleteList: base +"cart/delete",                //删除商品
  selectgoods: base + "cart/checked" ,            //选择或取消选择商品
  collectList: base +"collect/addordelete",       //添加/删除收藏
  addressList: base + "address/list",             //收货地址列表
  orderexpress: base + "order/express",           //物流列表
  footprintlist: base + "footprint/list",         //足迹列表
  footprintdelete: base + "footprint/delete",     //删除足迹
  addresssave: base + "address/save",             //保存收货地址
  addressdelete: base + "address/delete"          //删除收货地址
}
export default api;